-- GENERATED SPELL FOR [Risen Longrunner] --


function spell0_25350(pUnit, Event) --@Ghost Strike,n/a--
pUnit:FullCastSpellOnTarget(36093,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25350', 659, 1)
end

function Sorts_25350(pUnit, Event)
local choix_sorts_25350 = math.random(0, 0)
if choix_sorts_25350 == 0 then
pUnit:RegisterEvent('spell0_25350', 1, 1)
end
end

function mob25350_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25350', math.random(1500, 3000), 1)
end

function mob25350_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25350_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25350_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25350, 1, 'mob25350_Action')
RegisterUnitEvent(25350, 2, 'mob25350_Leave')
RegisterUnitEvent(25350, 3, 'mob25350_Kill')
RegisterUnitEvent(25350, 4, 'mob25350_Die')
